package com.taobao.api.request;

import java.util.Map;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;

import com.taobao.api.response.CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse;

/**
 * TOP API: cainiao.smartdelivery.strategy.warehouse.i.delete request
 * 
 * @author top auto create
 * @since 1.0, 2018.07.25
 */
public class CainiaoSmartdeliveryStrategyWarehouseIDeleteRequest extends BaseTaobaoRequest<CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse> {
	
	

	/** 
	* 仓id
	 */
	private Long warehouseId;

	public void setWarehouseId(Long warehouseId) {
		this.warehouseId = warehouseId;
	}

	public Long getWarehouseId() {
		return this.warehouseId;
	}

	public String getApiMethodName() {
		return "cainiao.smartdelivery.strategy.warehouse.i.delete";
	}

	public Map<String, String> getTextParams() {		
		TaobaoHashMap txtParams = new TaobaoHashMap();
		txtParams.put("warehouse_id", this.warehouseId);
		if(this.udfParams != null) {
			txtParams.putAll(this.udfParams);
		}
		return txtParams;
	}

	public Class<CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse> getResponseClass() {
		return CainiaoSmartdeliveryStrategyWarehouseIDeleteResponse.class;
	}

	public void check() throws ApiRuleException {
	}
	

}